// 消息中心路由
import Layout from '@/layout/index';

export default [
  {
    path: '/msg',
    component: Layout,
    meta: { title: '消息中心', icon: 'index', code: 'msg' },
    redirect: '/msg/list'
  },
  {
    path: 'list',
    component: (resolve) => require(['@/views/msg'], resolve),
    name: 'list',
    meta: { title: '消息列表', icon: 'index', code: 'msg:list' }
  }
];
